<template>
	<em class="f-bd f-bd-full">
		{{tagName}}
	</em>
</template>

<script>
	export default {
		props: {
			tagName: String
		}
	}
</script>

<style lang="scss">
	.f-bd {
		position: relative;

		&:after {
			position: absolute;
			z-index: 2;
			content: "";
			top: 0;
			left: 0;
			pointer-events: none;
			box-sizing: border-box;
			width: 100%;
			height: 100%;
			-webkit-transform-origin: top left;
			-ms-transform-origin: top left;
			transform-origin: top left;
			border: 0 solid rgba(0, 0, 0, .1);
		}
	}

	.f-bd-full:after {
		border-width: 1px;
	}
</style>
